using System;
using System.Collections.Generic;
using System.Text;

using Castle.Core.Configuration;
using Castle.MicroKernel.Facilities;
using Castle.Windsor;
using Castle.Facilities.PolicyInjection;

using TestConsole.Policies.Handlers;

namespace TestConsole
{
    public class Program
    {
        public static void Main(string[] args)
        {
            IWindsorContainer container = new WindsorContainer("windsor.config");            
            IOrder order = container.Resolve<IOrder>();
            order.Foo("Pippo");
            //order.Bar();
            Order order2 = container.Resolve<Order>();
            order2.Pluto();            
        }
    }
}